package com.nervenets.web.hibernate.domain.setting;

import com.nervenets.web.hibernate.DomainObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "helps")
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Help extends DomainObject {
    private long tagId;
    private String title;
    @Column(columnDefinition = "text")
    private String content;
    private boolean hot;
    private int queue;
}
